<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <title>go</title>
	<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.1.0.min.js"></script>
    <script type="text/javascript">
		$(document).ready(function(){
		var url = window.location.search;
		url = url.split('=');
		if (url.length == 2 && url[0] == '?id')
		$.post("index.php", {id: url[1]},
			function (data){
				if (data.url != 0){
				if (!data.url.indexOf("http://"))
					window.location.href = data.url;
				else
					window.location.href = "http://" + data.url;
				}
			}, "json");
		else
		$('body').html('Error');
		});
    </script>
	</head>
	<body>
	</body>
</html>